<table class="formTable">
        <tbody>
            {if $forms.id != ''}
                <tr>
                        <th>登録日時</th>
                        <td>
                                {$forms.r_date}
                        </td>
                </tr>

                <tr>
                        <th>更新日時</th>
                        <td>
                                {$forms.u_date}
                        </td>
                </tr>
            {/if}
            
                <tr>
                        <th>年月日</th>
                        <td>
                                {$forms.banner_date|date_format:"%Y年%m月%d日"}<input type="hidden" name="forms[banner_date]" value="{$forms.banner_date}" />
                        </td>
                </tr>

                <tr>
                        <th>バナー区分</th>
                        <td>
                                {$arrColumn[$forms.banner_type]}<input type="hidden" name="forms[banner_type]" value="{$forms.banner_type}" />
                        </td>
                </tr>

                <tr>
                        <th class="must">ステータス</th>
                        <td>{html_radios name='forms[status]' options=$status selected=$forms.status separator='&nbsp;'}</td>
                </tr>
                <tr>
                        <th>公開開始時間</th>
                        <td class="floats">{html_options name='forms[st_time]' options=$time selected=$forms.st_time}<span>時</span></td>
                </tr>
        </tbody>
</table>

<h4><span>&nbsp;</span>画像切り替え設定（複数枚登録している際に有効となります。）</h4>
<table class="formTable">
        <tbody>
                <tr>
                        <th>切り替え時間</th>
                        <td><input type="text" name="forms[interval1]" value="{$forms.interval1|escape}" class="smartspinner" />{$err.interval1}</td>
                </tr>
                <tr>
                        <th>アニメーションタイプ</th>
                        <td>{html_options name='forms[animation]' options=$animation selected=$forms.animation}</td>
                </tr>
        </tbody>
</table>


<h4><span>&nbsp;</span>バナー画像</h4>

<ul class="btns b10">
<li class="btn left c"><a href="javascript:;">画像を追加</a></li>
<li class="btn right c"><a href="javascript:;">空の画像を削除</a></li>
</ul>

<div id="banners">
    {foreach from=$forms.temp_name key=order_num item=temp_name}
            <table class="formTable">
                    <tbody>
                            <tr>
                                    <th><a href="javascript:;" class="delete_category">削除</a>画像</th>
                                    <td>
                                        <input type="file" name="image[{$order_num}]" class="uploadPic" />{$err.image[$order_num]}
                                        {if $temp_name != ''}
                                            <div class="clear">
                                                    <input type="hidden" name="forms[original][{$order_num}]" value="{$forms.original[$order_num]}" />
                                                    <input type="hidden" name="forms[temp_name][{$order_num}]" value="{$temp_name}" />
                                                    <img src="./uploader.php?cache={$temp_name}" id="itemFormimg" />
                                            </div>
                                        {/if}
                                    </td>
                            </tr>
                            <tr>
                                    <th>名称</th>
                                    <td>
                                            <input type="text" name="forms[alt_text][{$order_num}]" value="{$forms.alt_text[$order_num]|escape}" />
                                    </td>
                            </tr>
                            <tr>
                                    <th>URL</th>
                                    <td>
                                            <input type="text" name="forms[url][{$order_num}]" class="text" value="{$forms.url[$order_num]|escape}" /><br />
                                            {html_radios name="forms[target][$order_num]" options=$target checked=$forms.target[$order_num]}
                                    </td>
                            </tr>
                    </tbody>
            </table>
    {/foreach}
</div>